/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sbbs.springboot.sample23;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

/**
 *
 * @author Administrator
 */
@Service
@Profile(value = {"test", "dev"})
public class DemoServiceOtherImpl implements DemoService {

    @Override
    public void hello() {
        System.out.println("Here is other profile.");
    }

}
